package com.markhsiu.MiniMQ.broker.store;

import java.util.List;

public interface BaseStore<T> {

	void add(T t);
	@SuppressWarnings("hiding")
	<T> T poll();
	int size();
	List<T> getAll();
	 
}
